# $Id: PKGBUILD 56480 2011-10-07 10:10:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Benjamin Andresen <bandresen gmail com>

pkgname=namazu
pkgver=2.0.21
pkgrel=1
pkgdesc="Namazu is a full-text search engine intended for easy use."
url="http://namazu.org/"
license=('GPL')
arch=('i686' 'x86_64')
depends=(perl-file-mmagic)
options=(!libtool)
source=(http://namazu.org/stable/$pkgname-$pkgver.tar.gz)
md5sums=('8865d912a3de9c94f5ce01d0de5ccad9')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure \
  	--prefix=/usr \
	--sysconfdir=/etc \
	--localstatedir=/var/lib \
	--mandir=/usr/share/man \
	--libexecdir=/usr/lib/namazu \
	--libdir=/usr/lib/namazu
  make
  make DESTDIR=$pkgdir install
}
